package org.i1510.spider.po;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;


@Entity
@Table(name = "SYS_SPIDER")
public class SysSpider implements java.io.Serializable {
	private String docId;
	private String docSubject;
	private String docStatus;
	private String docCreator;
	private String docCreateTime;
	private String docLastor;
	private String docLastTime;
	/**
	 * ip地址
	 */
	private String ip;
	/**
	 * 文章内容
	 */
	private String descs;
	/**
	 * 标签
	 */
	private String tag;
	
	
	@Column(name = "ip",  length = 250)
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Lob 
	@Basic(fetch = FetchType.LAZY) 
	@Column(name="descs", columnDefinition="TEXT", nullable=true)
	public String getDescs() {
		return descs;
	}

	public void setDescs(String descs) {
		this.descs = descs;
	}

	@Column(name = "tag",  length = 200)
	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public SysSpider() {
	}

	@Id
	@Column(name = "doc_id", nullable = false, length = 36)
	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	@Column(name = "doc_subject",  length = 100)
	public String getDocSubject() {
		return docSubject;
	}

	public void setDocSubject(String docSubject) {
		this.docSubject = docSubject;
	}

	@Column(name = "doc_status",  length = 2)
	public String getDocStatus() {
		return docStatus;
	}

	public void setDocStatus(String docStatus) {
		this.docStatus = docStatus;
	}

	@Column(name = "doc_creator",  length = 36)
	public String getDocCreator() {
		return docCreator;
	}

	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}

	@Column(name = "doc_create_time",  length = 19) 
	public String getDocCreateTime() {
		return docCreateTime;
	}

	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}

	@Column(name = "doc_lastor",  length = 36)
	public String getDocLastor() {
		return docLastor;
	}

	public void setDocLastor(String docLastor) {
		this.docLastor = docLastor;
	}

	@Column(name = "doc_last_time",  length = 19)
	public String getDocLastTime() {
		return docLastTime;
	}

	public void setDocLastTime(String docLastTime) {
		this.docLastTime = docLastTime;
	}
}